From: Po Lu Date: Sun, 22 May 2022 07:33:50 +0000 (+0800) Subject: Fix build with --enable-check-lisp-object-type X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~2349^2~529 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9988047f476763424b1e763118da5aa489aa5d7d;p=emacs.git Fix build with --enable-check-lisp-object-type * src/xterm.c (handle_one_xevent): Fix use of Fequal. Reported by Jashank Jeremy . --- diff --git a/src/xterm.c b/src/xterm.c index 0487259bf02..c6c0a2f9153 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -20159,8 +20159,8 @@ handle_one_xevent (struct x_display_info *dpyinfo, current_monitors = Fx_display_monitor_attributes_list (inev.ie.arg); - if (Fequal (current_monitors, - dpyinfo->last_monitor_attributes_list)) + if (!NILP (Fequal (current_monitors, + dpyinfo->last_monitor_attributes_list))) inev.ie.kind = NO_EVENT; dpyinfo->last_monitor_attributes_list = current_monitors;